<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .all {
      width:600px;
      margin:200px auto;
      /* perspective:1000px; */
      display:flex;
      justify-content:space-between;
    }
    .all div {
      width:100px;
      height: 100px;
      background:pink;
      transform:rotateY(30deg);
    }
  </style>
</head>
<body>
  <div class="all">
    <div></div>
    <div></div>
    <div></div>
  </div>
</body>
</html>